#!/bin/bash

export CURRENTDIR=$(pwd)

sudo docker stop nginx_sms

sudo docker create --restart=always --net=host --name nginx_sms \
-v $CURRENTDIR/html:/data/nginx/html \
-v $CURRENTDIR/conf:/data/nginx/conf \
itos/nginx:v1.23.3

sudo docker start nginx_sms

sudo docker exec -it nginx_sms /bin/bash

